package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.DataExplore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 数据探索 Mapper 接口
 * </p>
 *
 * @author zenith
 * @since 2019-07-08
 */
@Mapper
public interface DataExploreMapper extends BaseMapper<DataExplore> {

    Integer isTenantAdmin(@Param("tenantId")Integer tenantId, @Param("userId")Integer userId);

    Integer getSqlLimit(@Param("tenantId")Integer tenantId, @Param("userId")Integer userId);

}
